package com.example.demo.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
public class IndexController {

    @RequestMapping
    public String index(ModelMap map){
        map.put("title", "可能我还是蛮可爱的");
        return "index";
    }
}
